<?php
/**
 * Prado Portal.
 *
 * @author Steen Rabol <steen.rabol@gmail.com>
 * @link http://www.pradoportal.dk/
 * @copyright Copyright &copy; 2006,2007,2008 Steen Rabol
 * @license http://www.pradoportal.dk
 * @version $Id: PortalThemeManager.php 431 2011-01-05 11:58:18Z steen.rabol $
 * @package Pradoportal.Common
 *
 */

/**
 *
 * @package Pradoportal.Common
 */

Prado::using('System.Web.UI.TThemeManager');
Prado::using('Application.Common.PortalTheme');

class PortalThemeManager extends TThemeManager
{
    //put your code here

    public function getTheme($name)
	{
		$themePath=$this->getBasePath().DIRECTORY_SEPARATOR.$name;
		$themeUrl=rtrim($this->getBaseUrl(),'/').'/'.$name;
		return new PortalTheme($themePath,$themeUrl);

	}

}



?>
